package com.moyun.common.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * <h3>moyun-base</h3>
 * <p>自定义事件类</p>
 *
 * @author : ybx
 * @date : 2022-04-23 15:00:25
 **/
@Getter
public class MessageEvent extends ApplicationEvent {

    private final String message;

    public MessageEvent(Object source, String message) {
        super(source);
        this.message = message;
    }
}
